<?php
namespace app\admin\validate;

use think\Request;
use think\Validate;

class HomeCate extends Validate
{

    protected $rule = [
        'title' => 'require',
        'path' => 'require',
    ];

    protected $message = [
        'title.require' => '请输入名称',
        'path.require' => '图片不能为空',

    ];
}